//
//  BBKit.h
//  goodsOwner
//
//  Created by apple on 2019/6/28.
//  Copyright © 2019年 fandecai. All rights reserved.
//

#ifndef BBKit_h
#define BBKit_h
#import "UIView+BBKit.h"
#import "BBBaseViewModel.h"
#import "UIView+Frame.h"
#import "UIControl+Event.h"



#import "BBViewModel.h"
#import "BBLabelViewModel.h"
#import "BBImageViewModel.h"
#import "BBControllerViewModel.h"
#import "BBTextFieldViewModel.h"
#import "BBUIButtonViewModel.h"
#import "BBSwichViewModel.h"
#import "BBScrollViewModel.h"
#import "BBTextViewModel.h"
#import "BBTableViewModel.h"
#import "BBCollectionViewModel.h"

#import "UICollectionViewController+Regist.h"
//#import "UIViewController+Table.h"
#import "UITableView+Regist.h"
#import "BBTableModel.h"
#import "BBCellModel.h"


#import "BBTableBaseCell.h"
#import "BBTableTextCell.h"
#import "BBTableIndicatorCell.h"





/// 快捷解决循环引用
#ifndef weakify
#if DEBUG
#if __has_feature(objc_arc)
#define weakify(object) autoreleasepool{} __weak __typeof__(object) weak##_##object = object;
#else
#define weakify(object) autoreleasepool{} __block __typeof__(object) block##_##object = object;
#endif
#else
#if __has_feature(objc_arc)
#define weakify(object) try{} @finally{} {} __weak __typeof__(object) weak##_##object = object;
#else
#define weakify(object) try{} @finally{} {} __block __typeof__(object) block##_##object = object;
#endif
#endif
#endif

#ifndef strongify
#if DEBUG
#if __has_feature(objc_arc)
#define strongify(object) autoreleasepool{} __typeof__(object) object = weak##_##object;
#else
#define strongify(object) autoreleasepool{} __typeof__(object) object = block##_##object;
#endif
#else
#if __has_feature(objc_arc)
#define strongify(object) try{} @finally{} __typeof__(object) object = weak##_##object;
#else
#define strongify(object) try{} @finally{} __typeof__(object) object = block##_##object;
#endif
#endif
#endif



#endif /* BBKit_h */
